//
//  UIView+Category.m
//  HengHuaSupervision
//
//  Created by XD-XY on 3/20/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "UIView+Category.h"

@implementation UIView (Category)

+(UIView *)initView:(CGRect )rect bgcolor:(UIColor *)color
{
    UIView * view = [[UIView alloc] initWithFrame:rect];
    view.backgroundColor = color;
    return view;
}
@end
